<template>
  <div class="demo-title">image/demo5</div>
  <div class="demo">
    <Image v-for="(item, i) in imgSrcs" :key="`demo-item${i}`" :src="item" lazy-load />
  </div>
</template>

<script lang="ts" setup>
  import Image from '@sscd-mobile/image'
  const imgSrcs = [
    'https://ssc-design-1311112663.cos.ap-guangzhou.myqcloud.com/components/h5/image/image-1.png',
    'https://ssc-design-1311112663.cos.ap-guangzhou.myqcloud.com/components/h5/image/image-2.png',
    'https://ssc-design-1311112663.cos.ap-guangzhou.myqcloud.com/components/h5/image/image-3.png',
    'https://ssc-design-1311112663.cos.ap-guangzhou.myqcloud.com/components/h5/image/image-1.png',
    'https://ssc-design-1311112663.cos.ap-guangzhou.myqcloud.com/components/h5/image/image-2.png',
    'https://ssc-design-1311112663.cos.ap-guangzhou.myqcloud.com/components/h5/image/image-3.png',
  ]
</script>

<style lang="less" scoped>
  .demo {
    padding: 12px;
    background: #fff;
  }
</style>